using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class PT_Role_FunctionEntity:AF_ORM.CORE.BaseEntity
    {
         public PT_Role_FunctionEntity()
         {
             tableName = "PT_Role_Function";


			 fieldInfos.Add(new FieldInfo("PT_Role_Function","RoleId","RoleId","int",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_Role_Function","FunctionId","FunctionId","int",0,false,false,false,false,"","",""));
         }
       //properties
                    
		 protected int m_RoleId;
		 protected int m_FunctionId;

		 public int RoleId

          { 
                get { 
                    return m_RoleId;}

                set{m_RoleId=value;

                    GetField("RoleId").Set();
                    GetField("RoleId").IsNull=(value == null);           
                    }
          }
		 public int FunctionId

          { 
                get { 
                    return m_FunctionId;}

                set{m_FunctionId=value;

                    GetField("FunctionId").Set();
                    GetField("FunctionId").IsNull=(value == null);           
                    }
          }

}
}
